package com.wondertek.poms.core.service;

import com.wondertek.poms.common.service.IService;
import com.wondertek.poms.dao.po.Product;
import com.wondertek.poms.dao.pojo.KeyValuePojo;
import com.wondertek.poms.dao.pojo.ProductPojo;

import org.springframework.data.domain.Page;

import java.util.List;

public interface IProductService extends IService<Product,Long> {

    Page<ProductPojo> findAll(ProductPojo productPojo,int page, int rows, String sord, String sidx);

    List<Long> getAllProductId(String vo);

    List<ProductPojo> getByProductIds(String productIds);

    Product getByProductId(String productId);

    List<Product> findAllByProductId (String productId);

}
